home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / rexx / 16 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.7 KB

  1. Path: telenor.no!PC-DT-7
  2. From: cstange@infonet.no (Christian Stange)
  3. Newsgroups: comp.os.os2.networking.tcp-ip,comp.lang.rexx
  4. Subject: Rexx script for dialup [OS/2]
  5. Date: 2 Jan 1996 10:27:09 GMT
  6. Organization: Telenor
  7. Distribution: inet
  8. Message-ID: <4cb19t$guu@info.ti.tele.no>
  9. NNTP-Posting-Host: 148.120.35.44
  10. Summary: Question for help on making Rexx script to replace Linkup.exe and DUOIP
  11. Keywords: Rexx script, Linkup, Dial up other internet provider
  12. X-Newsreader: News Xpress Version 1.0 Beta #4
  13.  
  14. I wish to make a script to replace Linkup.exe and DUOIP (Dial Up Other 
  15. Internet Provider).
  16.  
  17. Linkup tries to find a TCP/IP connection. If it find one, it start up the 
  18. program on the commandline and dies gracefully. If not, it will give you the 
  19. opertunety to choose between Advantis and DUOIP, make a connection, start the 
  20. program and die.
  21.  
  22. I want a Linkup that will check for a TCP/IP connection. If none found it will 
  23. start a script for login, second check the connection and start the program on 
  24. the command line. If there is any hidden command parameters for linkup.exe, I 
  25. may be able to use those and drop the rexx scripting.
  26.  
  27. The second problem is making the connection.
  28.  
  29. I've seen a good deal of Rexx scripts, but have little or none knowledge of 
  30. the underlying algoritme. As far as I know there is possible to use the DUOIP 
  31. with a rexx script that will do all the fancy stuff (redial, try a different 
  32. IP and so on), but the most resurce effective will of cause be a rexx script.
  33.  
  34. The thing I need is the following:
  35.  
  36.     *    Algoritme for Rexx script for PPP connection
  37.     *    Example of use of Rexx PM output window (for logging)
  38.     *    Example of checking for TCP/IP connection
  39.     *    All the example Rexx code for TCP/IP you have ;-))
  40.   
  41.